﻿using Panorama.Web.CustomAttributes;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;

namespace Panorama.Web.ViewModels
{
    public class LoginViewModel
    {
      
        [UserNameValidator(ErrorMessage = "Invalid Username")]
        public string UserName { get; set; }

      
        [PasswordValidator(ErrorMessage = "Invalid Password")]
        [DataType(DataType.Password)]
        
        public string Password { get; set; }
        
        public bool WindowsAuthentication { get; set; }
    }
}